package com.focus.wecenter.util;

import org.apache.log4j.Logger;

/**
 * @description 日志记录
 * @author Lv Jing
 * @date 2017年8月22日
 */
public class Log {

	public static final Logger log = Logger.getLogger(Log.class);
	
	public static void error(Object message) {
		log.error(message);
	}
	
	public static void error(Object message, Throwable t) {
		log.error(message, t);
	}
	
	public static void info(Object message) {
		log.info(message);
	}
	
	public static void info(Object message, Throwable t) {
		log.info(message, t);
	}
	
	public static void warn(Object message) {
		log.warn(message);
	}
	
	public static void warn(Object message, Throwable t) {
		log.warn(message, t);
	}
}
